home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / workbench / term_4.8 / extras / source / term-source.lha / PhoneLogGenerator.h < prev    next >
C/C++ Source or Header  |  1997-03-11  |  707b  |  34 lines

  1. /* Copyright © 1997 Kai Hofmann. All rights reserved. */
  2.  
  3. #ifndef _PHONELOGGENERATOR_H
  4. #define _PHONELOGGENERATOR_H 1
  5.  
  6. #ifndef _PHONELOG_H
  7. #include "PhoneLog.h"
  8. #endif    /* _PHONELOG_H */
  9.  
  10. #ifndef DOS_DOS_H
  11. #include <dos/dos.h>
  12. #endif
  13.  
  14. #ifndef DOS_EXALL_H
  15. #include <dos/exall.h>
  16. #endif
  17.  
  18. #ifndef UTILITY_TAGITEM_H
  19. #include <utility/tagitem.h>
  20. #endif
  21.  
  22. typedef struct PhoneLogHandle
  23. {
  24.     BPTR    file;
  25.     LONG    error;
  26. } PhoneLogHandle;
  27.  
  28. PhoneLogHandle *OpenPhoneLog(char *name);
  29. void ClosePhoneLog(PhoneLogHandle *handle);
  30. void WritePhoneLogStartEntry(PhoneLogHandle *handle, struct PhoneLogEntry *item);
  31. void WritePhoneLogEndEntry(PhoneLogHandle *handle, struct PhoneLogEntry *item);
  32.  
  33. #endif    /* _PHONELOGGENERATOR_H */
  34.